package cn.tianya.irock.core;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import flex.messaging.MessageBrokerServlet;

public class FlexMessageBrokerServlet extends MessageBrokerServlet {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public void service(HttpServletRequest req, HttpServletResponse res) {
		HttpRequest request = null;
		HttpResponse response = null;
		HttpContext context = null;
		
		try {
			request = new HttpRequest(req);
			response = new HttpResponse(res);
			
			context = new HttpContext(request, response);

		} catch (Exception ex) {
			System.out.print("irock.core.FlexMessageBrokerServlet::service Exception");
		}
		super.service(req, res);
	}
}
